package com.zy.entity.bs;

import javax.persistence.Table;
import javax.persistence.Transient;

import com.zy.entity.base.BaseEntity;
import com.zy.entity.base.IdEntity;
import com.zy.pojo.annotation.Comment;

@Table(name = "bs_msg")
public class Msg extends IdEntity {

	private static final long serialVersionUID = 1L;

	@Comment("发送人")
	private Long sendCustomerId;
	@Comment("收件人")
	private Long handlerCustomerId;
	@Comment("是否已读")
	private Integer isRead;
	@Comment("是否回复")
	private Integer isReceive;
	@Comment("内容")
	private String content;
	@Comment("发送时间")
	private Long sendTime;
	@Transient
	private String sendCustomerName;//发送人
	@Transient
	private String handlerCustomerName;//收件人

	public String getSendCustomerName() {
		return sendCustomerName;
	}

	public void setSendCustomerName(String sendCustomerName) {
		this.sendCustomerName = sendCustomerName;
	}

	public String getHandlerCustomerName() {
		return handlerCustomerName;
	}

	public void setHandlerCustomerName(String handlerCustomerName) {
		this.handlerCustomerName = handlerCustomerName;
	}

	public Long getSendCustomerId() {
		return sendCustomerId;
	}
	public void setSendCustomerId(Long sendCustomerId) {
		this.sendCustomerId = sendCustomerId;
	}
	public Long getHandlerCustomerId() {
		return handlerCustomerId;
	}
	public void setHandlerCustomerId(Long handlerCustomerId) {
		this.handlerCustomerId = handlerCustomerId;
	}
	public Integer getIsRead() {
		return isRead;
	}
	public void setIsRead(Integer isRead) {
		this.isRead = isRead;
	}
	public Integer getIsReceive() {
		return isReceive;
	}
	public void setIsReceive(Integer isReceive) {
		this.isReceive = isReceive;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Long getSendTime() {
		return sendTime;
	}
	public void setSendTime(Long sendTime) {
		this.sendTime = sendTime;
	}

}